![]() |
Synalyze It!
1.10
|
Public Member Functions | |
| String | getDescription () |
| Get grammar description. More... | |
| setDescription (String description) | |
| Set grammar description. More... | |
| void | addStructure (Structure structure) |
| Add structure. More... | |
| void | insertStructureAtIndex (Structure structure, int index) |
| Insert structure at index. More... | |
| void | deleteStructureAtIndex (int index) |
| Delete structure at index. More... | |
| Structure | getRootNode () |
| Get root node (structure) More... | |
| void | setStartStructure (Structure startStructure) |
| Set start structure. More... | |
| Structure | getStructureByName (String name) |
| Get structure by name. More... | |
| Structure | getStructureByIndex (int index) |
| Get structure by index. More... | |
| int | getStructureCount () |
| Get number of structures. More... | |
| setName (String name) | |
| Set grammar name. More... | |
| String | getName () |
| get grammar name More... | |
| setUTI (String UTI) | |
| Set UTI grammar is valid for. More... | |
| String | getUTI () |
| Get UTI grammar is valid for. More... | |
| setFileExtension (String fileExtension) | |
| Set file extension grammar is valid for. More... | |
| String | getFileExtension () |
| Get file extension grammar is valid for. More... | |
| readFromFile (fileName) | |
| Read grammar from file. More... | |
| writeToFile (fileName) | |
| Write grammar to file. More... | |
| void addStructure | ( | Structure | structure | ) |
Add structure.
| [in] | structure | The structure to be appended |
| void deleteStructureAtIndex | ( | int | index | ) |
Delete structure at index.
| [in] | index | Index where structure should be deleted |
| String getDescription | ( | ) |
Get grammar description.
| String getFileExtension | ( | ) |
Get file extension grammar is valid for.
| Structure getRootNode | ( | ) |
Get root node (structure)
| Structure getStructureByIndex | ( | int | index | ) |
Get structure by index.
| [in] | index | Index of the structure to get |
Get structure by name.
| [in] | name | Name of the structure to get |
| int getStructureCount | ( | ) |
Get number of structures.
| void insertStructureAtIndex | ( | Structure | structure, |
| int | index | ||
| ) |
Insert structure at index.
| [in] | structure | The structure to be inserted |
| [in] | index | Index where structure should be inserted |
| readFromFile | ( | fileName | ) |
Read grammar from file.
| [in] | fileName | The grammar file |
| setDescription | ( | String | description | ) |
Set grammar description.
| [in] | description | The description of the grammar |
| setFileExtension | ( | String | fileExtension | ) |
Set file extension grammar is valid for.
| [in] | fileExtension | The file extension to be set |
| setName | ( | String | name | ) |
| void setStartStructure | ( | Structure | startStructure | ) |
| setUTI | ( | String | UTI | ) |
| writeToFile | ( | fileName | ) |
Write grammar to file.
| [in] | fileName | The grammar file |
1.8.14